<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix = "c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix = "fn" uri = "http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
		<script type="text/javascript" src = "static/js/jquery.js"></script>
		<link rel="stylesheet" href="static/css/bootstrap.min.css" />
		<link rel = "stylesheet" href = "static/css/globle.css"/>

		<style type="text/css">
			th{
				text-align:center;
			}
		</style>
	<title></title>
</head>
<body>
 <div class="navbar navbar-fixed-top" id = "manager">
			<div class="navbar-inner">
				<div class="container">
					<a  class = "brand" href="#">项目管理系统</a>
			
				</div>
			</div>
		 </div>
	<div class="container" style = "margin-top:60px">
		<div class="row" style = "margin-top:10px">
			<div class="span3">
				<div style="padding: 8px 0;" class="well">
					<ul class="nav nav-list">
					  <li class="nav-header"></li>
					  <li><a href="#"><i class=" icon-home"></i>最新动态</a></li>
					  <li><a href="#"><i class="icon-flag"></i>目标</a></li>
					  <li><a href="#"><i class="icon-folder-open"></i>资料库</a></li>
					  <li class="active"><a href ="#"><i class="icon-file icon-white"></i>文件共享</a></li>
					  <li><a href="#"><i class="icon-user"></i>联系人</a></li>
					  <li><a href="#"><i class="icon-fire"></i>想法</a></li>
					  <li><a href="#"><i class="icon-warning-sign"></i>Bug</a></li>
					  <li><a href="#"><i class="icon-cog"></i>项目设置</a></li>
					</ul>
				</div>
			</div>
			<div class = "span9 btn-toolbar" style = "margin-top:18px;clear:top">
				      					 
					 <%-- 显示此项目的所有目标--%>
				<c:if test="${fn:length(filesPager.result) == 0 }">
					<div>还没有文件，快来<a href = "fileShare.jspx?_m=add" style = "color:blue">上传</a>吧！</div>
				</c:if>
				<a href="fileShare.jspx?_m=add" class="btn btn-primary" style="float:right"><i class="icon-white  icon-share"></i>上传资料</a>
				
				<ul class="breadcrumb" style = "margin-top:40px;margin-bottom:0px;border-radius:3px 3px 0 0;">
						<li class = "active "> <a href=""><i class = "icon-th"></i>文件共享>${fileshare.fs_name }</a></li>
						<li style="float:right"><a href="" class="link-black" title="删除该文件夹"><i class="icon-trash"></i></a></li>

				</ul>
					<div class = "well" style = "border-radius:0 0 3px 3px">
					<table class="table">

					<thead>

						<tr>

							<th width="10%"></th>
							<th width="30%">文件名称</th>
							<th width="25%">大小</th>

							<th width= "15%">创建人</th>

						</tr>

					</thead>

					<tbody>
						<c:forEach items = "${filesPager.result}" var = "f">
							<tr>
								<td><img src="static/img/3.png"/></td>
								<td><a href="fileShare.jspx?_m=single&fid=${f.f_id }">${f.f_name}</a></td>
								<td>${f.f_size }</td>
								<td>tom</td>
								<td><a href=""><i class="icon-trash"></i></a></td>
							</tr>
						</c:forEach>
					</tbody>

				</table>
						
					</div>
			
				
			</div>
		</div>
	</div>

</body>
</html>